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.0009429/0.0009429, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.0066/0.0066, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.366/1.366, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 262.3 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9486/0.9486, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004837, allocations: 15.06 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03379/0.238, allocations: 32.18 MB / 0.7167 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02169/0.2597, allocations: 14.64 MB / 0.731 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.2631, allocations: 135.3 kB / 0.7311 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.2654, allocations: 0.721 MB / 0.7318 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007613/0.273, allocations: 2.69 MB / 0.7344 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005176/0.2782, allocations: 1.995 MB / 0.7364 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.2916, allocations: 12.2 MB / 0.7483 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01749/0.3091, allocations: 11.51 MB / 0.7595 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3483/0.6575, allocations: 2.969 MB / 0.7624 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008392/0.6659, allocations: 3.504 MB / 0.7659 GB, free: 21.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002392/0.6684, allocations: 295 kB / 0.7661 GB, free: 21.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005915/0.6743, allocations: 1.554 MB / 0.7677 GB, free: 21.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005452/0.6798, allocations: 2.291 MB / 0.7699 GB, free: 21.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007201/0.687, allocations: 2.789 MB / 0.7726 GB, free: 20.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.7033, allocations: 10.66 MB / 0.783 GB, free: 19.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.7033, allocations: 0 / 0.783 GB, free: 19.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7033, allocations: 3.938 kB / 0.783 GB, free: 19.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004609/0.7038, allocations: 1.656 kB / 0.783 GB, free: 19.47 MB / 0.545 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.01523/0.719, allocations: 4.841 MB / 0.7878 GB, free: 17.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.7191, allocations: 8.969 kB / 0.7878 GB, free: 17.33 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00333/0.7224, allocations: 0.7269 MB / 0.7885 GB, free: 17.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00881/0.7313, allocations: 1.142 MB / 0.7896 GB, free: 16.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008511/0.7398, allocations: 3.321 MB / 0.7928 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000642/0.7405, allocations: 375.5 kB / 0.7932 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002706/0.7432, allocations: 499.1 kB / 0.7937 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/0.7644, allocations: 8.008 MB / 0.8015 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/0.7648, allocations: 21.64 kB / 0.8015 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001861/0.7667, allocations: 214.8 kB / 0.8017 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001113/0.7678, allocations: 439.2 kB / 0.8021 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.7809, allocations: 6.086 MB / 0.8081 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/0.8218, allocations: 35.24 MB / 0.8425 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.8249, allocations: 2.03 MB / 0.8445 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.8275, allocations: 1.852 MB / 0.8463 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.8277, allocations: 19.91 kB / 0.8463 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.8277, allocations: 58.81 kB / 0.8464 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 3.346e-06/0.8277, allocations: 2.188 kB / 0.8464 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1522/0.98, allocations: 39 MB / 0.8844 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.9801, allocations: 81.58 kB / 0.8845 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/0.9846, allocations: 2.286 MB / 0.8868 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006654/0.9853, allocations: 69.7 kB / 0.8868 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/0.9872, allocations: 2.279 MB / 0.889 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001301/0.9886, allocations: 0.9314 MB / 0.89 GB, free: 256 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006397/0.9892, allocations: 235.8 kB / 0.8902 GB, free: 12 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9893, allocations: 301.1 kB / 0.8905 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003454/0.9928, allocations: 1.97 MB / 0.8924 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/0.9967, allocations: 2.599 MB / 0.8949 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00695/1.004, allocations: 4.943 MB / 0.8998 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/1.004, allocations: 4 kB / 0.8998 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0174/1.021, allocations: 7.761 MB / 0.9073 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/1.021, allocations: 12 kB / 0.9073 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/1.021, allocations: 16.91 kB / 0.9074 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01103/1.032, allocations: 3.214 MB / 0.9105 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/1.035, allocations: 403.8 kB / 0.9109 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05516/1.09, allocations: 31.17 MB / 0.9413 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/1.094, allocations: 155.8 kB / 0.9415 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006041/1.094, allocations: 112 kB / 0.9416 GB, free: 10.36 MB / 0.67 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.004958/1.099, allocations: 1.803 MB / 0.9433 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.1, allocations: 328.1 kB / 0.9437 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/1.117, allocations: 7.367 MB / 0.9508 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/1.117, allocations: 24 kB / 0.9509 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001267/1.117, allocations: 32 kB / 0.9509 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-05/1.117, allocations: 11.95 kB / 0.9509 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/1.146, allocations: 12.93 MB / 0.9635 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/1.146, allocations: 11.98 kB / 0.9636 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.147, allocations: 228.9 kB / 0.9638 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008896/1.156, allocations: 2.855 MB / 0.9666 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004285/1.156, allocations: 52 kB / 0.9666 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04318/1.199, allocations: 29.97 MB / 0.9959 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/1.199, allocations: 14.56 kB / 0.9959 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.213, allocations: 6.886 MB / 1.003 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/1.215, allocations: 0.7937 MB / 1.003 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.216, allocations: 51.98 kB / 1.003 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/1.219, allocations: 168.2 kB / 1.004 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000948/1.22, allocations: 251.2 kB / 1.004 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/1.22, allocations: 83.36 kB / 1.004 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003024/1.223, allocations: 1.521 MB / 1.005 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.223, allocations: 4 kB / 1.005 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005303/1.229, allocations: 1.367 MB / 1.007 GB, free: 6.84 MB / 0.7325 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.01378/1.242, allocations: 7.516 MB / 1.014 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.256, allocations: 6.899 MB / 1.021 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/1.256, allocations: 4 kB / 1.021 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008792/1.264, allocations: 4.432 MB / 1.025 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009202/1.274, allocations: 1.033 MB / 1.026 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3999/1.674, allocations: 46.04 MB / 1.071 GB, free: 265.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004242/1.678, allocations: 3.642 MB / 1.075 GB, free: 263.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002253/1.68, allocations: 0.5607 MB / 1.075 GB, free: 263.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/1.682, allocations: 1.973 MB / 1.077 GB, free: 262.1 MB / 0.7637 GB Notification: Performance of SimCode: time 1.012e-06/1.682, allocations: 0 / 1.077 GB, free: 262.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/1.814, allocations: 108 MB / 1.183 GB, free: 170.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.815, allocations: 257.9 kB / 1.183 GB, free: 170.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.134/5.949, allocations: 0 / 1.183 GB, free: 170.1 MB / 0.7637 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)