Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_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.001898/0.001898, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002117/0.002118, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 279 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.106/1.106, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0029/0.0029, allocations: 102.1 kB / 0.6066 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1655, allocations: 89.15 MB / 0.6936 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02122/0.1868, allocations: 16 MB / 0.7092 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008567/0.1954, allocations: 4.816 MB / 0.7139 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.1964, allocations: 63.69 kB / 0.714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.1991, allocations: 1.044 MB / 0.715 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.2009, allocations: 0.7464 MB / 0.7157 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.203, allocations: 0.9157 MB / 0.7166 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003832/0.2069, allocations: 3.618 MB / 0.7202 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005548/0.2125, allocations: 4.805 MB / 0.7249 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.2147, allocations: 1.57 MB / 0.7264 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.2171, allocations: 1.784 MB / 0.7281 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005569/0.2177, allocations: 340 kB / 0.7285 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.2192, allocations: 0.7958 MB / 0.7292 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.2207, allocations: 1.329 MB / 0.7305 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.2226, allocations: 1.451 MB / 0.732 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005378/0.228, allocations: 5.095 MB / 0.7369 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.228, allocations: 4 kB / 0.7369 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.228, allocations: 0 / 0.7369 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.933e-05/0.2281, allocations: 0 / 0.7369 GB, free: 7.645 MB / 0.5294 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.005187/0.2333, allocations: 2.646 MB / 0.7395 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2334, allocations: 12.03 kB / 0.7395 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005254/0.2339, allocations: 374.5 kB / 0.7399 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.238, allocations: 0.8329 MB / 0.7407 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.2409, allocations: 1.501 MB / 0.7422 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.2411, allocations: 173.1 kB / 0.7423 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004938/0.2416, allocations: 240.3 kB / 0.7426 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008484/0.25, allocations: 4.165 MB / 0.7466 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.2501, allocations: 4 kB / 0.7466 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.2504, allocations: 99.98 kB / 0.7467 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/0.2506, allocations: 168.5 kB / 0.7469 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006572/0.2572, allocations: 3.628 MB / 0.7504 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2883/0.5455, allocations: 16.55 MB / 0.7666 GB, free: 56.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.5487, allocations: 2.291 MB / 0.7688 GB, free: 55.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008322/0.5495, allocations: 0.5796 MB / 0.7694 GB, free: 55.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.5497, allocations: 95.75 kB / 0.7695 GB, free: 55.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.5497, allocations: 49.94 kB / 0.7695 GB, free: 55.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.926e-06/0.5497, allocations: 0.7188 kB / 0.7695 GB, free: 55.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.0052/0.5549, allocations: 3.424 MB / 0.7729 GB, free: 53.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.555, allocations: 117.7 kB / 0.773 GB, free: 53.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.5564, allocations: 1.018 MB / 0.774 GB, free: 52.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.5565, allocations: 40.08 kB / 0.774 GB, free: 52.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/0.557, allocations: 1.098 MB / 0.7751 GB, free: 52.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.5572, allocations: 272 kB / 0.7754 GB, free: 51.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/0.5576, allocations: 281.8 kB / 0.7756 GB, free: 51.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5577, allocations: 417.1 kB / 0.776 GB, free: 51.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.5591, allocations: 0.6125 MB / 0.7766 GB, free: 51.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.5607, allocations: 1.185 MB / 0.7778 GB, free: 50.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.5638, allocations: 1.866 MB / 0.7796 GB, free: 49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.5638, allocations: 4.094 kB / 0.7796 GB, free: 49 MB / 0.545 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004826/0.5687, allocations: 2.015 MB / 0.7816 GB, free: 48.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.5687, allocations: 13.75 kB / 0.7816 GB, free: 48.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/0.5688, allocations: 20.53 kB / 0.7816 GB, free: 48.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.5694, allocations: 167.4 kB / 0.7818 GB, free: 48.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.5711, allocations: 351.9 kB / 0.7821 GB, free: 48.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.512e-05/0.5712, allocations: 38.77 kB / 0.7821 GB, free: 48.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.5729, allocations: 127 kB / 0.7823 GB, free: 48.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.5731, allocations: 73.42 kB / 0.7823 GB, free: 48.06 MB / 0.545 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001824/0.5749, allocations: 0.9772 MB / 0.7833 GB, free: 47.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.5753, allocations: 104 kB / 0.7834 GB, free: 47.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.5782, allocations: 1.23 MB / 0.7846 GB, free: 47.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5783, allocations: 8.422 kB / 0.7846 GB, free: 47.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.5783, allocations: 7.984 kB / 0.7846 GB, free: 47.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.5783, allocations: 4.906 kB / 0.7846 GB, free: 47.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008478/0.5868, allocations: 3.815 MB / 0.7883 GB, free: 45.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.5868, allocations: 3.469 kB / 0.7883 GB, free: 45.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.588, allocations: 156.2 kB / 0.7885 GB, free: 45.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006137/0.5887, allocations: 143.3 kB / 0.7886 GB, free: 45.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.931e-05/0.5888, allocations: 18.56 kB / 0.7886 GB, free: 45.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.5888, allocations: 4.219 kB / 0.7886 GB, free: 45.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.5888, allocations: 7.312 kB / 0.7886 GB, free: 45.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.592, allocations: 1.469 MB / 0.7901 GB, free: 44.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000683/0.5927, allocations: 268 kB / 0.7903 GB, free: 44.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.593, allocations: 13.66 kB / 0.7904 GB, free: 44.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.5941, allocations: 69.69 kB / 0.7904 GB, free: 44.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.5943, allocations: 62.3 kB / 0.7905 GB, free: 44.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/0.5944, allocations: 21.34 kB / 0.7905 GB, free: 44.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001507/0.5959, allocations: 0.7017 MB / 0.7912 GB, free: 43.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.596, allocations: 0 / 0.7912 GB, free: 43.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002524/0.5985, allocations: 387.3 kB / 0.7916 GB, free: 43.86 MB / 0.545 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003147/0.6017, allocations: 2.046 MB / 0.7935 GB, free: 42.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004467/0.6062, allocations: 2.016 MB / 0.7955 GB, free: 41.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.6062, allocations: 1.281 kB / 0.7955 GB, free: 41.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.6075, allocations: 0.8527 MB / 0.7964 GB, free: 40.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.61, allocations: 270 kB / 0.7966 GB, free: 40.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/0.6361, allocations: 13.34 MB / 0.8096 GB, free: 31.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/0.6386, allocations: 1.925 MB / 0.8115 GB, free: 30.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001982/0.6406, allocations: 449.4 kB / 0.8119 GB, free: 30.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.6419, allocations: 0.7138 MB / 0.8126 GB, free: 29.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.6419, allocations: 0 / 0.8126 GB, free: 29.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07176/0.7137, allocations: 27.32 MB / 0.8393 GB, free: 4.184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.81, allocations: 12.69 kB / 0.8393 GB, free: 4.18 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)