Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.004837/0.004837, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001086/0.001086, allocations: 193.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 290.1 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.946/0.946, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00309/0.00309, allocations: 92.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1768, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3875/0.5643, allocations: 33.31 MB / 0.7985 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02523/0.5896, allocations: 14.82 MB / 0.8129 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003935/0.5935, allocations: 156.3 kB / 0.8131 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009788/0.6033, allocations: 3.656 MB / 0.8166 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009727/0.6131, allocations: 2.996 MB / 0.8196 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00788/0.621, allocations: 2.326 MB / 0.8218 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01575/0.6368, allocations: 8.829 MB / 0.8305 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.6505, allocations: 9.583 MB / 0.8398 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007243/0.6578, allocations: 4.023 MB / 0.8437 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007078/0.6649, allocations: 4.041 MB / 0.8477 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.6666, allocations: 0.7164 MB / 0.8484 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/0.6713, allocations: 1.716 MB / 0.8501 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003892/0.6753, allocations: 2.822 MB / 0.8528 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006447/0.6817, allocations: 3.392 MB / 0.8561 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.6958, allocations: 11.18 MB / 0.8671 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.6958, allocations: 4 kB / 0.8671 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6958, allocations: 0 / 0.8671 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004177/0.6963, allocations: 0 / 0.8671 GB, free: 12.6 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01457/0.7108, allocations: 5.987 MB / 0.8729 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.7109, allocations: 12.03 kB / 0.8729 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001653/0.7126, allocations: 0.7309 MB / 0.8736 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006805/0.7194, allocations: 1.138 MB / 0.8747 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006879/0.7263, allocations: 3.516 MB / 0.8782 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.7265, allocations: 378.4 kB / 0.8785 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/0.7276, allocations: 0.4919 MB / 0.879 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.7413, allocations: 7.993 MB / 0.8868 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001591/0.7415, allocations: 27.77 kB / 0.8869 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/0.7421, allocations: 216 kB / 0.8871 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009412/0.743, allocations: 441.6 kB / 0.8875 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.7553, allocations: 6.081 MB / 0.8934 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04231/0.7977, allocations: 34.9 MB / 0.9275 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.8005, allocations: 2.022 MB / 0.9295 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/0.803, allocations: 1.873 MB / 0.9313 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.8031, allocations: 21.98 kB / 0.9313 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.8032, allocations: 60.5 kB / 0.9314 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=171): time 3.166e-06/0.8032, allocations: 0 / 0.9314 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276): time 0.1425/0.9457, allocations: 38.88 MB / 0.9694 GB, free: 80 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.9458, allocations: 81.58 kB / 0.9694 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/0.9503, allocations: 2.278 MB / 0.9717 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004544/0.9508, allocations: 73.7 kB / 0.9717 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001834/0.9526, allocations: 2.28 MB / 0.974 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/0.9539, allocations: 0.9396 MB / 0.9749 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00159/0.9555, allocations: 0.5061 MB / 0.9754 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.9556, allocations: 305.1 kB / 0.9757 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/0.9588, allocations: 1.977 MB / 0.9776 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.9624, allocations: 2.606 MB / 0.9801 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006806/0.9692, allocations: 4.929 MB / 0.9849 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.9692, allocations: 4 kB / 0.9849 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01512/0.9844, allocations: 7.757 MB / 0.9925 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.9844, allocations: 12 kB / 0.9925 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.9845, allocations: 16 kB / 0.9926 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009683/0.9942, allocations: 3.215 MB / 0.9957 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.9959, allocations: 399.3 kB / 0.9961 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04634/1.042, allocations: 33.87 MB / 1.029 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.045, allocations: 163.8 kB / 1.029 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005186/1.046, allocations: 108 kB / 1.029 GB, free: 1.027 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003076/1.049, allocations: 1.798 MB / 1.031 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008195/1.05, allocations: 332.1 kB / 1.031 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.064, allocations: 7.364 MB / 1.039 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/1.064, allocations: 32 kB / 1.039 GB, free: 7.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.49e-05/1.064, allocations: 28 kB / 1.039 GB, free: 7.387 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/1.064, allocations: 11.95 kB / 1.039 GB, free: 7.375 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02488/1.089, allocations: 12.92 MB / 1.051 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/1.089, allocations: 12.19 kB / 1.051 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.09, allocations: 235.6 kB / 1.052 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008648/1.099, allocations: 2.845 MB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004028/1.099, allocations: 52 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04483/1.144, allocations: 32.66 MB / 1.086 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-05/1.144, allocations: 11.94 kB / 1.086 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3423/1.486, allocations: 6.88 MB / 1.093 GB, free: 265.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002386/1.489, allocations: 0.7755 MB / 1.094 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006817/1.489, allocations: 55.8 kB / 1.094 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.491, allocations: 169.7 kB / 1.094 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008868/1.492, allocations: 255.6 kB / 1.094 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/1.492, allocations: 79.53 kB / 1.094 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00241/1.495, allocations: 1.527 MB / 1.096 GB, free: 265.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/1.495, allocations: 0 / 1.096 GB, free: 265.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004105/1.499, allocations: 1.37 MB / 1.097 GB, free: 265.1 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01166/1.511, allocations: 7.513 MB / 1.105 GB, free: 263.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.523, allocations: 6.936 MB / 1.111 GB, free: 261.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.523, allocations: 2.188 kB / 1.111 GB, free: 261.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.008326/1.531, allocations: 4.409 MB / 1.116 GB, free: 259.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/1.536, allocations: 1.127 MB / 1.117 GB, free: 259.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06655/1.603, allocations: 39.01 MB / 1.155 GB, free: 241.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003434/1.607, allocations: 3.646 MB / 1.158 GB, free: 240.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00203/1.609, allocations: 0.5574 MB / 1.159 GB, free: 240.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/1.61, allocations: 1.977 MB / 1.161 GB, free: 238.8 MB / 0.8419 GB Notification: Performance of SimCode: time 9.42e-07/1.61, allocations: 0 / 1.161 GB, free: 238.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/1.753, allocations: 111.6 MB / 1.27 GB, free: 132.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/17.88, allocations: 27.41 kB / 1.27 GB, free: 132.9 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)