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.001089/0.001089, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001515/0.001515, allocations: 168.7 kB / 15.95 MB, free: 204 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.537/1.537, allocations: 223.2 MB / 240 MB, free: 5.43 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.378/2.378, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7607, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009325/0.7701, allocations: 9.023 MB / 0.9627 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005035/0.7752, allocations: 2.889 MB / 0.9655 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007406/0.7759, allocations: 31.12 kB / 0.9655 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.7764, allocations: 175.1 kB / 0.9657 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.7779, allocations: 0.5871 MB / 0.9663 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.7791, allocations: 435.7 kB / 0.9667 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003885/0.783, allocations: 3.179 MB / 0.9698 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/0.7877, allocations: 2.682 MB / 0.9724 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.7899, allocations: 0.8712 MB / 0.9733 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.792, allocations: 1.249 MB / 0.9745 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.7922, allocations: 101.9 kB / 0.9746 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.7932, allocations: 245 kB / 0.9748 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.7942, allocations: 0.8453 MB / 0.9756 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.7947, allocations: 350.2 kB / 0.976 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.7974, allocations: 2.8 MB / 0.9787 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7975, allocations: 0 / 0.9787 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7975, allocations: 0 / 0.9787 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.808e-05/0.7975, allocations: 0 / 0.9787 GB, free: 6.621 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.003137/0.8007, allocations: 1.616 MB / 0.9803 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8007, allocations: 12.03 kB / 0.9803 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003533/0.8011, allocations: 252.5 kB / 0.9805 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/0.8061, allocations: 0.8834 MB / 0.9814 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.8082, allocations: 1.101 MB / 0.9825 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.8083, allocations: 114.8 kB / 0.9826 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/0.8086, allocations: 148 kB / 0.9827 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004829/0.8134, allocations: 2.997 MB / 0.9856 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.8135, allocations: 15.89 kB / 0.9857 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.8137, allocations: 59.97 kB / 0.9857 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/0.8139, allocations: 183 kB / 0.9859 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004233/0.8181, allocations: 2.592 MB / 0.9884 GB, free: 12.44 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.01629/0.8345, allocations: 13.52 MB / 1.002 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.8363, allocations: 1.296 MB / 1.003 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.8376, allocations: 1.043 MB / 1.004 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.297e-05/0.8377, allocations: 12.66 kB / 1.004 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.8378, allocations: 43.22 kB / 1.004 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.8378, allocations: 0 / 1.004 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.06269/0.9005, allocations: 19.45 MB / 1.023 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.9006, allocations: 64.72 kB / 1.023 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.9024, allocations: 0.9144 MB / 1.024 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000321/0.9027, allocations: 45.7 kB / 1.024 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.9033, allocations: 0.7283 MB / 1.025 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006089/0.9039, allocations: 489 kB / 1.025 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.9041, allocations: 32 kB / 1.025 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002468/0.9043, allocations: 422.7 kB / 1.026 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.9063, allocations: 1.331 MB / 1.027 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.9086, allocations: 1.647 MB / 1.028 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.9108, allocations: 1.557 MB / 1.03 GB, free: 432 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.9108, allocations: 4 kB / 1.03 GB, free: 428 kB / 0.7794 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01064/0.9214, allocations: 5.622 MB / 1.036 GB, free: 10.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.9215, allocations: 9.562 kB / 1.036 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.9215, allocations: 12 kB / 1.036 GB, free: 10.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007931/0.9295, allocations: 2.715 MB / 1.038 GB, free: 8.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.9303, allocations: 191.7 kB / 1.038 GB, free: 7.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03153/0.9619, allocations: 23.31 MB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.9632, allocations: 91.91 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.9634, allocations: 59.98 kB / 1.061 GB, free: 15.82 MB / 0.8262 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.001274/0.9647, allocations: 0.7354 MB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.9649, allocations: 114.7 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.9752, allocations: 5.373 MB / 1.067 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.9753, allocations: 12 kB / 1.067 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/0.9753, allocations: 20 kB / 1.067 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.9753, allocations: 11.97 kB / 1.067 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.9906, allocations: 8.598 MB / 1.076 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.9907, allocations: 7.938 kB / 1.076 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.9912, allocations: 119.8 kB / 1.076 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007612/0.9988, allocations: 2.54 MB / 1.078 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/0.9991, allocations: 31.98 kB / 1.078 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02982/1.029, allocations: 20.85 MB / 1.099 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.029, allocations: 7.984 kB / 1.099 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.039, allocations: 5.115 MB / 1.104 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.04, allocations: 479.6 kB / 1.104 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/1.041, allocations: 28 kB / 1.104 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/1.041, allocations: 71.91 kB / 1.104 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004688/1.042, allocations: 129 kB / 1.104 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.042, allocations: 36 kB / 1.104 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009042/1.043, allocations: 0.6356 MB / 1.105 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.043, allocations: 4 kB / 1.105 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002685/1.046, allocations: 0.7188 MB / 1.106 GB, free: 1.383 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.01059/1.056, allocations: 5.695 MB / 1.111 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007773/1.064, allocations: 4.146 MB / 1.115 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.064, allocations: 0 / 1.115 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005496/1.07, allocations: 2.659 MB / 1.118 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/1.071, allocations: 205.9 kB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/1.1, allocations: 14.44 MB / 1.132 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/1.103, allocations: 1.7 MB / 1.134 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001146/1.105, allocations: 325.5 kB / 1.134 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008698/1.106, allocations: 0.5298 MB / 1.135 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of SimCode: time 7.452e-05/1.106, allocations: 0 / 1.135 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09064/1.196, allocations: 48.89 MB / 1.183 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/1.197, allocations: 229.8 kB / 1.183 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.764, allocations: 4 kB / 1.183 GB, free: 2.328 MB / 0.9356 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