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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001538/0.001538, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 289.8 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9544/0.9544, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 97.92 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1637, allocations: 86.98 MB / 0.6808 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.3048/0.4686, allocations: 15.99 MB / 0.6965 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008079/0.4767, allocations: 4.816 MB / 0.7012 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.4783, allocations: 65.34 kB / 0.7012 GB, free: 8.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.4813, allocations: 1.054 MB / 0.7023 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.4836, allocations: 0.746 MB / 0.703 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.4862, allocations: 0.9029 MB / 0.7039 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.4905, allocations: 3.618 MB / 0.7074 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006943/0.4975, allocations: 4.815 MB / 0.7121 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.5003, allocations: 1.569 MB / 0.7136 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.5033, allocations: 1.782 MB / 0.7154 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.5044, allocations: 344.4 kB / 0.7157 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.5071, allocations: 0.8011 MB / 0.7165 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002658/0.5098, allocations: 1.32 MB / 0.7178 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0037/0.5135, allocations: 1.455 MB / 0.7192 GB, free: 212 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007566/0.5211, allocations: 5.096 MB / 0.7242 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5211, allocations: 3.938 kB / 0.7242 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5211, allocations: 1.312 kB / 0.7242 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001795/0.5213, allocations: 0 / 0.7242 GB, free: 13.77 MB / 0.4981 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.009075/0.5304, allocations: 2.644 MB / 0.7268 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5305, allocations: 9.5 kB / 0.7268 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005072/0.5355, allocations: 0.8307 MB / 0.7276 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.5396, allocations: 1.507 MB / 0.729 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.5398, allocations: 176.6 kB / 0.7292 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.541, allocations: 233.6 kB / 0.7294 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.5519, allocations: 4.165 MB / 0.7335 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.552, allocations: 2.594 kB / 0.7335 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008241/0.5529, allocations: 102.5 kB / 0.7336 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002627/0.5532, allocations: 172.4 kB / 0.7338 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007736/0.5609, allocations: 3.632 MB / 0.7373 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02231/0.5833, allocations: 16.55 MB / 0.7535 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.5867, allocations: 2.281 MB / 0.7557 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008832/0.5876, allocations: 0.5858 MB / 0.7563 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.5878, allocations: 93.66 kB / 0.7564 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.5878, allocations: 43.12 kB / 0.7564 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/0.5878, allocations: 0 / 0.7564 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76): time 0.006642/0.5945, allocations: 3.436 MB / 0.7598 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.5946, allocations: 111.5 kB / 0.7599 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.5961, allocations: 1.018 MB / 0.7609 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.5962, allocations: 37.7 kB / 0.7609 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/0.5969, allocations: 1.099 MB / 0.762 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.5971, allocations: 272.1 kB / 0.7622 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.5976, allocations: 283.3 kB / 0.7625 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5978, allocations: 414.7 kB / 0.7629 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000909/0.5987, allocations: 0.6128 MB / 0.7635 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.5999, allocations: 1.182 MB / 0.7647 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.6021, allocations: 1.876 MB / 0.7665 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.6022, allocations: 4 kB / 0.7665 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003238/0.6054, allocations: 2.015 MB / 0.7685 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.6055, allocations: 12 kB / 0.7685 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.6055, allocations: 20 kB / 0.7685 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.6059, allocations: 163.6 kB / 0.7686 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.6071, allocations: 351.4 kB / 0.769 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.23e-05/0.6071, allocations: 35.86 kB / 0.769 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.6083, allocations: 123.7 kB / 0.7691 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.6084, allocations: 75.92 kB / 0.7692 GB, free: 3.105 MB / 0.5294 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.001577/0.61, allocations: 0.9733 MB / 0.7702 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.6103, allocations: 114.6 kB / 0.7703 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.6124, allocations: 1.234 MB / 0.7715 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.6124, allocations: 11.94 kB / 0.7715 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.6125, allocations: 0 / 0.7715 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6125, allocations: 8.078 kB / 0.7715 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/0.619, allocations: 3.804 MB / 0.7752 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.619, allocations: 8.25 kB / 0.7752 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.6196, allocations: 155.8 kB / 0.7754 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003596/0.62, allocations: 139.3 kB / 0.7755 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.6201, allocations: 23.94 kB / 0.7755 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/0.6201, allocations: 7.938 kB / 0.7755 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6201, allocations: 8 kB / 0.7755 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.6222, allocations: 1.464 MB / 0.777 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/0.6229, allocations: 271.7 kB / 0.7772 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.6232, allocations: 20 kB / 0.7772 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.6241, allocations: 63.91 kB / 0.7773 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6243, allocations: 64.36 kB / 0.7774 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.6243, allocations: 20 kB / 0.7774 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001186/0.6255, allocations: 0.6992 MB / 0.7781 GB, free: 9.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6255, allocations: 0 / 0.7781 GB, free: 9.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001793/0.6273, allocations: 388.1 kB / 0.7784 GB, free: 9.371 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.000252/0.6276, allocations: 134.5 kB / 0.7786 GB, free: 9.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003045/0.6307, allocations: 2.015 MB / 0.7805 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6307, allocations: 0 / 0.7805 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009663/0.6316, allocations: 0.8595 MB / 0.7814 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.6334, allocations: 272.4 kB / 0.7816 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008396/0.6418, allocations: 4.183 MB / 0.7857 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002299/0.6442, allocations: 1.966 MB / 0.7876 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.6446, allocations: 91.42 kB / 0.7877 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.6446, allocations: 0 / 0.7877 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.07793/0.7225, allocations: 73.3 MB / 0.8593 GB, free: 6.281 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)