Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.0008665/0.0008668, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001089/0.001089, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.844/1.844, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005338/0.0005339, allocations: 16.69 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2727, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01532/0.288, allocations: 14.52 MB / 0.8016 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007925/0.296, allocations: 4.62 MB / 0.8061 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.2973, allocations: 55.69 kB / 0.8062 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007158/0.298, allocations: 242.1 kB / 0.8064 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.2997, allocations: 0.5831 MB / 0.807 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.3013, allocations: 0.4979 MB / 0.8074 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004176/0.3055, allocations: 4.109 MB / 0.8115 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007255/0.3128, allocations: 4.946 MB / 0.8163 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.3149, allocations: 1.109 MB / 0.8174 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.3171, allocations: 1.472 MB / 0.8188 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.3174, allocations: 144 kB / 0.8189 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.3186, allocations: 395.6 kB / 0.8193 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.3197, allocations: 1.068 MB / 0.8204 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.3203, allocations: 496.5 kB / 0.8208 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.3242, allocations: 4.267 MB / 0.825 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3242, allocations: 3.938 kB / 0.825 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3242, allocations: 0 / 0.825 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001083/0.3243, allocations: 0 / 0.825 GB, free: 5.188 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004139/0.3285, allocations: 2.206 MB / 0.8272 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3285, allocations: 8.031 kB / 0.8272 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005172/0.329, allocations: 374.3 kB / 0.8275 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.3328, allocations: 0.8397 MB / 0.8283 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.3352, allocations: 1.469 MB / 0.8298 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3354, allocations: 180.8 kB / 0.83 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003902/0.3358, allocations: 232 kB / 0.8302 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007267/0.343, allocations: 4.142 MB / 0.8342 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/0.3431, allocations: 7.938 kB / 0.8342 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.3434, allocations: 104 kB / 0.8343 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.3436, allocations: 168.5 kB / 0.8345 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/0.3499, allocations: 3.636 MB / 0.838 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01954/0.3694, allocations: 16.52 MB / 0.8542 GB, free: 5.613 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.3726, allocations: 2.304 MB / 0.8564 GB, free: 3.102 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007988/0.3734, allocations: 0.578 MB / 0.857 GB, free: 2.516 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.3736, allocations: 105.6 kB / 0.8571 GB, free: 2.395 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3736, allocations: 39.12 kB / 0.8571 GB, free: 2.344 MB / 0.67 GB Notification: Performance of pre-optimization done (n=72): time 2.886e-06/0.3736, allocations: 0 / 0.8571 GB, free: 2.344 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.005215/0.3788, allocations: 3.44 MB / 0.8605 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3789, allocations: 115.5 kB / 0.8606 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.3802, allocations: 1.006 MB / 0.8616 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.3802, allocations: 37.7 kB / 0.8616 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007002/0.381, allocations: 1.107 MB / 0.8627 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.3812, allocations: 276.2 kB / 0.863 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.3813, allocations: 24 kB / 0.863 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.3815, allocations: 418.5 kB / 0.8634 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008975/0.3824, allocations: 0.6089 MB / 0.864 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.3836, allocations: 1.197 MB / 0.8651 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.3847, allocations: 0.854 MB / 0.866 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.3847, allocations: 8 kB / 0.866 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002927/0.3877, allocations: 2.022 MB / 0.868 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.3877, allocations: 12 kB / 0.868 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.3877, allocations: 20 kB / 0.868 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.3881, allocations: 167.9 kB / 0.8682 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.3892, allocations: 355.4 kB / 0.8685 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.174e-05/0.3893, allocations: 39.86 kB / 0.8685 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008875/0.3902, allocations: 135.7 kB / 0.8687 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.3903, allocations: 68 kB / 0.8687 GB, free: 5.98 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001463/0.3917, allocations: 0.9771 MB / 0.8697 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3919, allocations: 102.8 kB / 0.8698 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.3939, allocations: 1.249 MB / 0.871 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3939, allocations: 8 kB / 0.871 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3939, allocations: 0 / 0.871 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.394, allocations: 7.984 kB / 0.871 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005223/0.3992, allocations: 3.812 MB / 0.8747 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.3992, allocations: 0 / 0.8747 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.3998, allocations: 155.8 kB / 0.8749 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.4001, allocations: 143.3 kB / 0.875 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.4002, allocations: 19.98 kB / 0.875 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/0.4002, allocations: 12 kB / 0.875 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4002, allocations: 8.016 kB / 0.8751 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.402, allocations: 1.476 MB / 0.8765 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.4025, allocations: 283.7 kB / 0.8768 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.4026, allocations: 23.98 kB / 0.8768 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.4032, allocations: 71.91 kB / 0.8769 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.4033, allocations: 60.52 kB / 0.8769 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.4034, allocations: 23.95 kB / 0.8769 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008676/0.4042, allocations: 0.6874 MB / 0.8776 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4042, allocations: 0 / 0.8776 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001424/0.4057, allocations: 388 kB / 0.878 GB, free: 12.21 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002187/0.4079, allocations: 2.052 MB / 0.88 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.4103, allocations: 1.715 MB / 0.8817 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4103, allocations: 3.938 kB / 0.8817 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009266/0.4112, allocations: 0.871 MB / 0.8825 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4125, allocations: 239.2 kB / 0.8827 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.4276, allocations: 9.732 MB / 0.8922 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/0.4294, allocations: 1.916 MB / 0.8941 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001209/0.4306, allocations: 453.6 kB / 0.8945 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008708/0.4315, allocations: 0.7141 MB / 0.8952 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of SimCode: time 1.143e-06/0.4315, allocations: 0 / 0.8952 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5308/0.9623, allocations: 26.97 MB / 0.9216 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.9625, allocations: 228.8 kB / 0.9218 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/3.23, allocations: 0 / 0.9218 GB, free: 119.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: