Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005487/0.005487, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001117/0.001117, allocations: 192 kB / 16.67 MB, free: 5.973 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 289.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9175/0.9175, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 95.84 kB / 0.6814 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3946, allocations: 86.98 MB / 0.7664 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003772/0.3984, allocations: 2.799 MB / 0.7691 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.4011, allocations: 2.015 MB / 0.7711 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.4012, allocations: 4 kB / 0.7711 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007092/0.4019, allocations: 231 kB / 0.7713 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.4023, allocations: 191.2 kB / 0.7715 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.4028, allocations: 279.2 kB / 0.7718 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.4031, allocations: 311 kB / 0.7721 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.4034, allocations: 165.8 kB / 0.7722 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.4036, allocations: 123.6 kB / 0.7723 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.4038, allocations: 151.5 kB / 0.7725 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.4039, allocations: 20 kB / 0.7725 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.4044, allocations: 387.2 kB / 0.7729 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.4045, allocations: 99.7 kB / 0.773 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.4046, allocations: 115.5 kB / 0.7731 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.4051, allocations: 464.3 kB / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4051, allocations: 0 / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4051, allocations: 0 / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4051, allocations: 0 / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007739/0.4059, allocations: 0.5686 MB / 0.7741 GB, free: 11.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.4059, allocations: 8.031 kB / 0.7741 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007088/0.4067, allocations: 116.5 kB / 0.7742 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.4069, allocations: 257.5 kB / 0.7744 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.407, allocations: 12.81 kB / 0.7744 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.407, allocations: 28.09 kB / 0.7745 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.4076, allocations: 385.9 kB / 0.7748 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4076, allocations: 3.938 kB / 0.7748 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.4077, allocations: 8 kB / 0.7748 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.4077, allocations: 23.98 kB / 0.7749 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.4083, allocations: 355.7 kB / 0.7752 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.4101, allocations: 1.734 MB / 0.7769 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.4107, allocations: 347.4 kB / 0.7772 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.411, allocations: 188.5 kB / 0.7774 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.4112, allocations: 93.03 kB / 0.7775 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4112, allocations: 34.56 kB / 0.7775 GB, free: 8.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.4112, allocations: 0 / 0.7775 GB, free: 8.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.006795/0.418, allocations: 1.913 MB / 0.7794 GB, free: 6.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.4181, allocations: 85.11 kB / 0.7795 GB, free: 6.086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4182, allocations: 184 kB / 0.7797 GB, free: 5.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.4183, allocations: 29.7 kB / 0.7797 GB, free: 5.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.4183, allocations: 152.7 kB / 0.7798 GB, free: 5.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.891e-05/0.4184, allocations: 126.9 kB / 0.78 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4186, allocations: 77.64 kB / 0.78 GB, free: 5.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.4187, allocations: 330.8 kB / 0.7803 GB, free: 5.168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.4191, allocations: 256.7 kB / 0.7806 GB, free: 4.914 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.4196, allocations: 333.5 kB / 0.7809 GB, free: 4.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009459/0.4206, allocations: 0.5956 MB / 0.7815 GB, free: 3.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4206, allocations: 3.938 kB / 0.7815 GB, free: 3.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001104/0.4217, allocations: 0.6471 MB / 0.7821 GB, free: 3.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4217, allocations: 4 kB / 0.7821 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4218, allocations: 4 kB / 0.7821 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4218, allocations: 4 kB / 0.7821 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/0.4226, allocations: 144 kB / 0.7823 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4226, allocations: 15.92 kB / 0.7823 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.423, allocations: 47.94 kB / 0.7823 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.4231, allocations: 19.98 kB / 0.7824 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005186/0.4236, allocations: 362.4 kB / 0.7827 GB, free: 2.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004766/0.4241, allocations: 326.6 kB / 0.783 GB, free: 2.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008911/0.425, allocations: 0.5705 MB / 0.7836 GB, free: 1.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.425, allocations: 4 kB / 0.7836 GB, free: 1.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001057/0.4261, allocations: 0.6105 MB / 0.7842 GB, free: 1.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.4261, allocations: 8 kB / 0.7842 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4261, allocations: 4.281 kB / 0.7842 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.4261, allocations: 11.94 kB / 0.7842 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/0.4269, allocations: 143.8 kB / 0.7843 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4269, allocations: 7.938 kB / 0.7843 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.4273, allocations: 43.94 kB / 0.7844 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.4273, allocations: 19.98 kB / 0.7844 GB, free: 0.875 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.4275, allocations: 208.1 kB / 0.7846 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.4276, allocations: 19.91 kB / 0.7846 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.4289, allocations: 0.665 MB / 0.7853 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4289, allocations: 7.938 kB / 0.7853 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4289, allocations: 4 kB / 0.7853 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4289, allocations: 0 / 0.7853 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.4309, allocations: 1.364 MB / 0.7866 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4309, allocations: 0 / 0.7866 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.4315, allocations: 119.8 kB / 0.7867 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4315, allocations: 4.25 kB / 0.7867 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.4315, allocations: 16 kB / 0.7867 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4315, allocations: 7.938 kB / 0.7867 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4316, allocations: 3.938 kB / 0.7868 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.4325, allocations: 0.7124 MB / 0.7874 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.4326, allocations: 140.9 kB / 0.7876 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.4327, allocations: 12 kB / 0.7876 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.433, allocations: 51.81 kB / 0.7876 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.4331, allocations: 27.97 kB / 0.7877 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.4331, allocations: 8 kB / 0.7877 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001129/0.4333, allocations: 143.2 kB / 0.7878 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4333, allocations: 0 / 0.7878 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000577/0.4338, allocations: 143.9 kB / 0.788 GB, free: 13.06 MB / 0.5606 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001802/0.434, allocations: 139.1 kB / 0.7881 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.4355, allocations: 0.8527 MB / 0.7889 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4355, allocations: 0 / 0.7889 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.436, allocations: 256.2 kB / 0.7892 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.4365, allocations: 59.52 kB / 0.7892 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4375, allocations: 0.6964 MB / 0.7899 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4378, allocations: 0.7877 MB / 0.7907 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000443/0.4383, allocations: 174.8 kB / 0.7908 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.4384, allocations: 31.44 kB / 0.7909 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.4384, allocations: 0 / 0.7909 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of Templates: time 0.00766/0.4461, allocations: 4.882 MB / 0.7956 GB, free: 5.172 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)