Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_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.001165/0.001165, allocations: 104 kB / 16.4 MB, free: 6.477 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.001254/0.001254, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7122/0.7122, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001175, allocations: 64.28 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03612/0.1761, allocations: 33.3 MB / 0.6641 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02343/0.1996, allocations: 14.82 MB / 0.6786 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005014/0.2046, allocations: 159.2 kB / 0.6788 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.215, allocations: 3.663 MB / 0.6823 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008756/0.2238, allocations: 2.89 MB / 0.6851 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00626/0.2301, allocations: 2.328 MB / 0.6874 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01198/0.2421, allocations: 8.808 MB / 0.696 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01524/0.2573, allocations: 9.588 MB / 0.7054 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007146/0.2645, allocations: 4.016 MB / 0.7093 GB, free: 5.004 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006763/0.2713, allocations: 4.034 MB / 0.7133 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002199/0.2736, allocations: 0.7188 MB / 0.714 GB, free: 244 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004713/0.2783, allocations: 1.716 MB / 0.7156 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004517/0.2828, allocations: 2.83 MB / 0.7184 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008101/0.291, allocations: 3.388 MB / 0.7217 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.3086, allocations: 11.19 MB / 0.7326 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3086, allocations: 0 / 0.7326 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3086, allocations: 0 / 0.7326 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004302/0.3091, allocations: 0 / 0.7326 GB, free: 13.06 MB / 0.5762 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.01828/0.3274, allocations: 5.979 MB / 0.7385 GB, free: 7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3274, allocations: 12.03 kB / 0.7385 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002418/0.3298, allocations: 0.7271 MB / 0.7392 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00778/0.3376, allocations: 1.138 MB / 0.7403 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008427/0.3461, allocations: 3.52 MB / 0.7437 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.3465, allocations: 374.3 kB / 0.7441 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/0.3484, allocations: 499.8 kB / 0.7446 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3431/0.6915, allocations: 8 MB / 0.7524 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002421/0.6918, allocations: 23.17 kB / 0.7524 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/0.693, allocations: 214.9 kB / 0.7526 GB, free: 95.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001258/0.6943, allocations: 438.2 kB / 0.753 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.7097, allocations: 6.087 MB / 0.759 GB, free: 93.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03897/0.7488, allocations: 34.9 MB / 0.7931 GB, free: 62.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.7516, allocations: 2.023 MB / 0.795 GB, free: 61.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.7539, allocations: 1.874 MB / 0.7969 GB, free: 60.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.7541, allocations: 24.47 kB / 0.7969 GB, free: 60.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.7541, allocations: 55.72 kB / 0.7969 GB, free: 60.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 3.917e-06/0.7541, allocations: 0 / 0.7969 GB, free: 60.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1385/0.8926, allocations: 38.89 MB / 0.8349 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.8927, allocations: 81.58 kB / 0.835 GB, free: 21.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/0.8958, allocations: 2.278 MB / 0.8372 GB, free: 19.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004417/0.8962, allocations: 73.7 kB / 0.8373 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009324/0.8972, allocations: 2.272 MB / 0.8395 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008275/0.898, allocations: 0.942 MB / 0.8404 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/0.8991, allocations: 0.5061 MB / 0.8409 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.8992, allocations: 306.9 kB / 0.8412 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.9015, allocations: 1.973 MB / 0.8431 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/0.9042, allocations: 2.606 MB / 0.8457 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/0.9094, allocations: 4.929 MB / 0.8505 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.9095, allocations: 8 kB / 0.8505 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0144/0.9239, allocations: 7.751 MB / 0.8581 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.9239, allocations: 12 kB / 0.8581 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/0.924, allocations: 20 kB / 0.8581 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009353/0.9334, allocations: 3.217 MB / 0.8612 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.9351, allocations: 399.3 kB / 0.8616 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04421/0.9794, allocations: 33.86 MB / 0.8947 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.9828, allocations: 159.8 kB / 0.8949 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000561/0.9834, allocations: 112 kB / 0.895 GB, free: 6.676 MB / 0.6231 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.003515/0.9869, allocations: 1.797 MB / 0.8967 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/0.9882, allocations: 339.9 kB / 0.897 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/1.003, allocations: 7.35 MB / 0.9042 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/1.003, allocations: 30.72 kB / 0.9042 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.966e-05/1.003, allocations: 32 kB / 0.9043 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/1.003, allocations: 15.95 kB / 0.9043 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/1.029, allocations: 12.92 MB / 0.9169 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/1.029, allocations: 8.062 kB / 0.9169 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.03, allocations: 239.3 kB / 0.9171 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008258/1.038, allocations: 2.843 MB / 0.9199 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/1.039, allocations: 56 kB / 0.92 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0444/1.083, allocations: 32.66 MB / 0.9519 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.083, allocations: 15.94 kB / 0.9519 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.096, allocations: 6.883 MB / 0.9586 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002184/1.098, allocations: 0.782 MB / 0.9594 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007538/1.099, allocations: 51.98 kB / 0.9594 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.101, allocations: 176.1 kB / 0.9596 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008287/1.102, allocations: 249.5 kB / 0.9598 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/1.102, allocations: 76 kB / 0.9599 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002366/1.104, allocations: 1.529 MB / 0.9614 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.104, allocations: 0 / 0.9614 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004674/1.109, allocations: 1.367 MB / 0.9627 GB, free: 15.95 MB / 0.7012 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.01298/1.122, allocations: 7.516 MB / 0.9701 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.134, allocations: 6.933 MB / 0.9768 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.134, allocations: 0 / 0.9768 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007571/1.142, allocations: 4.419 MB / 0.9812 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/1.147, allocations: 1.107 MB / 0.9822 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07197/1.219, allocations: 39.02 MB / 1.02 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3312/1.551, allocations: 3.633 MB / 1.024 GB, free: 248.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002327/1.553, allocations: 0.5552 MB / 1.024 GB, free: 248.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/1.555, allocations: 1.974 MB / 1.026 GB, free: 248.2 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/1.555, allocations: 0 / 1.026 GB, free: 248.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1603/1.716, allocations: 113.3 MB / 1.137 GB, free: 165.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/18.01, allocations: 17.03 kB / 1.137 GB, free: 165.1 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)