Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.846/1.846, allocations: 291.7 MB / 306.8 MB, free: 7.727 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009594/0.0009595, allocations: 185.5 kB / 375.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.7 MB / 0.6538 GB, free: 13.54 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 102.5 kB / 0.7699 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.0005319, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8595, allocations: 118.1 MB / 1.011 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03089/0.8904, allocations: 31.66 MB / 1.042 GB, free: 44.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.9084, allocations: 11 MB / 1.053 GB, free: 37.35 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003842/0.9123, allocations: 138.8 kB / 1.053 GB, free: 37.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.9147, allocations: 0.681 MB / 1.053 GB, free: 36.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005737/0.9204, allocations: 1.575 MB / 1.055 GB, free: 36.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.9262, allocations: 1.434 MB / 1.056 GB, free: 35.33 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01275/0.939, allocations: 9.719 MB / 1.066 GB, free: 31.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02277/0.9618, allocations: 14.12 MB / 1.08 GB, free: 26.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006506/0.9683, allocations: 2.646 MB / 1.082 GB, free: 25.11 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007564/0.9759, allocations: 3.474 MB / 1.086 GB, free: 23.87 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.9775, allocations: 332.7 kB / 1.086 GB, free: 23.86 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.9819, allocations: 0.9658 MB / 1.087 GB, free: 23.64 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003495/0.9854, allocations: 2.45 MB / 1.089 GB, free: 22.92 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002354/0.9878, allocations: 1.105 MB / 1.09 GB, free: 22.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.9999, allocations: 9.938 MB / 1.1 GB, free: 20.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1, allocations: 0 / 1.1 GB, free: 20.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.816e-06/1, allocations: 0 / 1.1 GB, free: 20.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004353/1, allocations: 0 / 1.1 GB, free: 20.57 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01277/1.013, allocations: 4.651 MB / 1.105 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.013, allocations: 6.875 kB / 1.105 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006909/1.02, allocations: 1.066 MB / 1.106 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007384/1.028, allocations: 3.26 MB / 1.109 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004319/1.028, allocations: 412.2 kB / 1.109 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002917/1.031, allocations: 0.5376 MB / 1.11 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03083/1.062, allocations: 9.035 MB / 1.119 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002643/1.062, allocations: 32.52 kB / 1.119 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/1.064, allocations: 231.4 kB / 1.119 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005498/1.064, allocations: 348.9 kB / 1.119 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01959/1.084, allocations: 6.785 MB / 1.126 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05695/1.141, allocations: 40.19 MB / 1.165 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00429/1.145, allocations: 3.099 MB / 1.168 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/1.148, allocations: 1.946 MB / 1.17 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.68e-05/1.148, allocations: 18.78 kB / 1.17 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/1.148, allocations: 51.47 kB / 1.17 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=179): time 7.404e-06/1.148, allocations: 8.953 kB / 1.17 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.0256/1.174, allocations: 10.01 MB / 1.18 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/1.174, allocations: 69.41 kB / 1.18 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/1.176, allocations: 1.514 MB / 1.181 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.176, allocations: 53.7 kB / 1.181 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.178, allocations: 2.257 MB / 1.184 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005969/1.178, allocations: 0.6316 MB / 1.184 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.178, allocations: 44.66 kB / 1.184 GB, free: 5.234 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.179, allocations: 406.3 kB / 1.185 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.18, allocations: 1.164 MB / 1.186 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/1.182, allocations: 1.881 MB / 1.188 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/1.186, allocations: 3.348 MB / 1.191 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.186, allocations: 8 kB / 1.191 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007367/1.194, allocations: 4.56 MB / 1.195 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/1.194, allocations: 16.62 kB / 1.195 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/1.194, allocations: 24 kB / 1.195 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003664/1.198, allocations: 1.579 MB / 1.197 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.199, allocations: 355.3 kB / 1.197 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/1.221, allocations: 17.04 MB / 1.214 GB, free: 5.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/1.224, allocations: 115.9 kB / 1.214 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/1.224, allocations: 101.2 kB / 1.214 GB, free: 5.457 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005607/1.23, allocations: 1.898 MB / 1.216 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007592/1.231, allocations: 225.4 kB / 1.216 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007282/1.238, allocations: 4.083 MB / 1.22 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.238, allocations: 16 kB / 1.22 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/1.238, allocations: 24 kB / 1.22 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/1.238, allocations: 11.95 kB / 1.22 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/1.254, allocations: 9.434 MB / 1.229 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.254, allocations: 7.938 kB / 1.229 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/1.255, allocations: 184.2 kB / 1.23 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/1.258, allocations: 1.358 MB / 1.231 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.258, allocations: 32 kB / 1.231 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/1.28, allocations: 15.95 MB / 1.247 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.28, allocations: 5.031 kB / 1.247 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007084/1.287, allocations: 4.058 MB / 1.25 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.289, allocations: 0.5334 MB / 1.251 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/1.289, allocations: 32.5 kB / 1.251 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/1.29, allocations: 95.83 kB / 1.251 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/1.29, allocations: 165.7 kB / 1.251 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.291, allocations: 48 kB / 1.251 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001546/1.292, allocations: 0.989 MB / 1.252 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.292, allocations: 0 / 1.252 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003709/1.296, allocations: 0.9844 MB / 1.253 GB, free: 12.37 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003371/1.296, allocations: 159.9 kB / 1.253 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007501/1.304, allocations: 4.29 MB / 1.258 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.304, allocations: 0 / 1.258 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004587/1.308, allocations: 2.663 MB / 1.26 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/1.313, allocations: 0.6925 MB / 1.261 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.331, allocations: 10.53 MB / 1.271 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004683/1.336, allocations: 3.577 MB / 1.275 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00206/1.338, allocations: 469.8 kB / 1.275 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/1.338, allocations: 111.4 kB / 1.275 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/1.338, allocations: 0 / 1.275 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.07332/1.411, allocations: 40.8 MB / 1.315 GB, free: 13.14 MB / 0.9011 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)