Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.797, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009696/0.8067, allocations: 8.747 MB / 0.9621 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005077/0.8118, allocations: 2.902 MB / 0.965 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008717/0.8127, allocations: 25.41 kB / 0.965 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.8132, allocations: 184.4 kB / 0.9652 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.8147, allocations: 478.4 kB / 0.9656 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.816, allocations: 443.7 kB / 0.9661 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.8181, allocations: 1.302 MB / 0.9673 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004298/0.8224, allocations: 2.672 MB / 0.9699 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.8239, allocations: 0.7288 MB / 0.9707 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.8252, allocations: 0.868 MB / 0.9715 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.8254, allocations: 102 kB / 0.9716 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000675/0.8261, allocations: 216.7 kB / 0.9718 GB, free: 11 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00083/0.8269, allocations: 0.7673 MB / 0.9726 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004514/0.8274, allocations: 358.5 kB / 0.9729 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.83, allocations: 2.758 MB / 0.9756 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.83, allocations: 4 kB / 0.9756 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.895e-06/0.83, allocations: 0 / 0.9756 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.968e-05/0.8301, allocations: 1.469 kB / 0.9756 GB, free: 8.398 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003206/0.8333, allocations: 1.603 MB / 0.9772 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8333, allocations: 9.344 kB / 0.9772 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003409/0.8337, allocations: 252.9 kB / 0.9774 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005899/0.8396, allocations: 0.9498 MB / 0.9783 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.8422, allocations: 1.099 MB / 0.9794 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/0.8423, allocations: 110.9 kB / 0.9795 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/0.8426, allocations: 144 kB / 0.9797 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/0.8472, allocations: 2.993 MB / 0.9826 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.8473, allocations: 7.953 kB / 0.9826 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.8475, allocations: 67.91 kB / 0.9826 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.8477, allocations: 174.9 kB / 0.9828 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004061/0.8518, allocations: 2.596 MB / 0.9853 GB, free: 15.33 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.8694, allocations: 13.53 MB / 0.9986 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.8714, allocations: 1.291 MB / 0.9998 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.923e-05/0.8715, allocations: 8.656 kB / 0.9998 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.8715, allocations: 43.16 kB / 0.9999 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.8715, allocations: 0 / 0.9999 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.07363/0.9451, allocations: 19.44 MB / 1.019 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.9452, allocations: 68.72 kB / 1.019 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.9466, allocations: 0.9066 MB / 1.02 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.9469, allocations: 49.7 kB / 1.02 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.9474, allocations: 0.7283 MB / 1.021 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005067/0.9479, allocations: 481 kB / 1.021 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.9481, allocations: 32 kB / 1.021 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002996/0.9484, allocations: 422.7 kB / 1.021 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.9504, allocations: 1.339 MB / 1.023 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.9526, allocations: 1.643 MB / 1.024 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.9548, allocations: 1.553 MB / 1.026 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.9549, allocations: 4 kB / 1.026 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01187/0.9667, allocations: 5.623 MB / 1.031 GB, free: 14.74 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.9668, allocations: 8 kB / 1.031 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.9668, allocations: 12.06 kB / 1.031 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008901/0.9757, allocations: 2.723 MB / 1.034 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.9767, allocations: 191.7 kB / 1.034 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03654/1.013, allocations: 24.32 MB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/1.015, allocations: 91.95 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.015, allocations: 56.5 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00141/1.017, allocations: 0.7354 MB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/1.017, allocations: 122.6 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.029, allocations: 5.373 MB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/1.029, allocations: 15.95 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.786e-05/1.029, allocations: 24 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.54e-05/1.029, allocations: 11.97 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/1.047, allocations: 8.605 MB / 1.073 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.047, allocations: 4 kB / 1.073 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/1.047, allocations: 115.8 kB / 1.073 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00862/1.056, allocations: 2.542 MB / 1.075 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/1.056, allocations: 28 kB / 1.075 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03388/1.09, allocations: 21.78 MB / 1.097 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.09, allocations: 4.188 kB / 1.097 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.102, allocations: 5.293 MB / 1.102 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/1.104, allocations: 483.5 kB / 1.102 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/1.105, allocations: 32 kB / 1.102 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.106, allocations: 75.89 kB / 1.102 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008104/1.107, allocations: 120.9 kB / 1.102 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.107, allocations: 40 kB / 1.102 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00169/1.109, allocations: 0.6434 MB / 1.103 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.1e-07/1.109, allocations: 0 / 1.103 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00437/1.114, allocations: 0.7227 MB / 1.104 GB, free: 3.113 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01277/1.126, allocations: 6.908 MB / 1.111 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.008247/1.135, allocations: 4.14 MB / 1.115 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.135, allocations: 0 / 1.115 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005648/1.14, allocations: 2.655 MB / 1.117 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/1.142, allocations: 180.8 kB / 1.117 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/1.173, allocations: 20.14 MB / 1.137 GB, free: 404 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/1.176, allocations: 1.736 MB / 1.139 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009871/1.177, allocations: 325.5 kB / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008458/1.178, allocations: 0.5383 MB / 1.14 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of SimCode: time 1.132e-06/1.178, allocations: 3.938 kB / 1.14 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08722/1.265, allocations: 48.85 MB / 1.187 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/1.265, allocations: 234.6 kB / 1.187 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.822, allocations: 0 / 1.187 GB, free: 13.05 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat does not exist to compare? outputFormat=mat