Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ACSimpleGrid_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_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.0009441/0.0009441, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005446/0.005446, allocations: 172.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004982, allocations: 17.09 kB / 0.6744 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01293/0.2165, allocations: 11.38 MB / 0.7991 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00915/0.2257, allocations: 5.507 MB / 0.8045 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009994/0.2267, allocations: 31.88 kB / 0.8045 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009651/0.2277, allocations: 314 kB / 0.8048 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.2292, allocations: 0.6222 MB / 0.8054 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.2308, allocations: 0.6706 MB / 0.8061 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003421/0.2343, allocations: 3.761 MB / 0.8098 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005529/0.2398, allocations: 4.363 MB / 0.814 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.2413, allocations: 0.8134 MB / 0.8148 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.2428, allocations: 1.125 MB / 0.8159 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.243, allocations: 100 kB / 0.816 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008833/0.2439, allocations: 463.2 kB / 0.8165 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006791/0.2446, allocations: 0.7365 MB / 0.8172 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008379/0.2454, allocations: 0.8609 MB / 0.818 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002848/0.2483, allocations: 3.653 MB / 0.8216 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2483, allocations: 0 / 0.8216 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2483, allocations: 0 / 0.8216 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.67e-05/0.2483, allocations: 0 / 0.8216 GB, free: 8.926 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003055/0.2514, allocations: 1.722 MB / 0.8233 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2515, allocations: 8.031 kB / 0.8233 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003396/0.2518, allocations: 264.9 kB / 0.8235 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.2547, allocations: 0.7284 MB / 0.8242 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.2566, allocations: 1.193 MB / 0.8254 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.2567, allocations: 115.6 kB / 0.8255 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.257, allocations: 163.9 kB / 0.8257 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.2612, allocations: 2.952 MB / 0.8285 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.2613, allocations: 0 / 0.8285 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.2614, allocations: 64 kB / 0.8286 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003299/0.2618, allocations: 167.1 kB / 0.8288 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003802/0.2656, allocations: 2.499 MB / 0.8312 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.2774, allocations: 10.82 MB / 0.8418 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.2788, allocations: 0.911 MB / 0.8427 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006971/0.2795, allocations: 0.501 MB / 0.8431 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.2797, allocations: 93.47 kB / 0.8432 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2797, allocations: 34.94 kB / 0.8433 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.545e-06/0.2797, allocations: 0 / 0.8433 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.026/0.3057, allocations: 8.008 MB / 0.8511 GB, free: 9.477 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3058, allocations: 59.97 kB / 0.8511 GB, free: 9.406 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.3069, allocations: 0.922 MB / 0.852 GB, free: 8.477 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.636e-05/0.307, allocations: 41.64 kB / 0.8521 GB, free: 8.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.3075, allocations: 0.7813 MB / 0.8529 GB, free: 7.633 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.3077, allocations: 248.5 kB / 0.8531 GB, free: 7.387 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3078, allocations: 85.67 kB / 0.8532 GB, free: 7.297 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.308, allocations: 394.8 kB / 0.8535 GB, free: 6.902 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.3091, allocations: 0.7872 MB / 0.8543 GB, free: 6.113 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.3104, allocations: 1.135 MB / 0.8554 GB, free: 4.824 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.3129, allocations: 1.966 MB / 0.8573 GB, free: 2.707 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.3129, allocations: 7.938 kB / 0.8574 GB, free: 2.699 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009441/0.3223, allocations: 3.67 MB / 0.8609 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.3226, allocations: 421 kB / 0.8613 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3227, allocations: 8 kB / 0.8613 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008313/0.331, allocations: 2.006 MB / 0.8633 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/0.3319, allocations: 231.6 kB / 0.8635 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/0.347, allocations: 9.886 MB / 0.8732 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3484, allocations: 191.5 kB / 0.8734 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.3486, allocations: 48 kB / 0.8734 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.3486, allocations: 4 kB / 0.8734 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007922/0.3565, allocations: 3.005 MB / 0.8763 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.3566, allocations: 11.98 kB / 0.8764 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/0.362, allocations: 1.288 MB / 0.8776 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.363, allocations: 279.5 kB / 0.8779 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.3732, allocations: 5.998 MB / 0.8837 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.3744, allocations: 151.8 kB / 0.8839 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.3745, allocations: 44 kB / 0.8839 GB, free: 6.898 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001284/0.3758, allocations: 0.8947 MB / 0.8848 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.376, allocations: 86.97 kB / 0.8849 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008863/0.3849, allocations: 3.21 MB / 0.888 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3849, allocations: 11.94 kB / 0.888 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3849, allocations: 0 / 0.888 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3849, allocations: 7.984 kB / 0.888 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.3967, allocations: 5.329 MB / 0.8932 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3968, allocations: 0 / 0.8932 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.3972, allocations: 107.8 kB / 0.8933 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/0.4045, allocations: 1.826 MB / 0.8951 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.4046, allocations: 16 kB / 0.8951 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.4176, allocations: 9.302 MB / 0.9042 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4176, allocations: 4 kB / 0.9042 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008221/0.4259, allocations: 3.096 MB / 0.9073 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.4265, allocations: 324 kB / 0.9076 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.4267, allocations: 19.98 kB / 0.9076 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/0.4276, allocations: 139.7 kB / 0.9077 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.4279, allocations: 60.47 kB / 0.9078 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.4279, allocations: 20 kB / 0.9078 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008898/0.4288, allocations: 0.6629 MB / 0.9084 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4289, allocations: 0 / 0.9084 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002205/0.4311, allocations: 0.6914 MB / 0.9091 GB, free: 12.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008678/0.4398, allocations: 3.684 MB / 0.9127 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007171/0.4469, allocations: 3.811 MB / 0.9164 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.447, allocations: 0 / 0.9164 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.4489, allocations: 1.251 MB / 0.9177 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.4506, allocations: 353.4 kB / 0.918 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3823/0.8329, allocations: 16.99 MB / 0.9346 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.8343, allocations: 1.721 MB / 0.9363 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001342/0.8356, allocations: 0.5005 MB / 0.9368 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.8362, allocations: 0.5089 MB / 0.9373 GB, free: 125 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.8362, allocations: 0 / 0.9373 GB, free: 125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.054/0.8902, allocations: 43.64 MB / 0.9799 GB, free: 99.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.8904, allocations: 272.1 kB / 0.9801 GB, free: 98.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.09, allocations: 0 / 0.9801 GB, free: 98.75 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)