Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 117.8 kB / 17.08 MB, free: 6.012 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.001082/0.001082, allocations: 192.1 kB / 18.01 MB, free: 5.094 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.282/1.282, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6796/0.6796, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 70.02 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1261, allocations: 76.17 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02002/0.1461, allocations: 17.17 MB / 0.6495 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009549/0.1557, allocations: 5.838 MB / 0.6552 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.1572, allocations: 51.88 kB / 0.6552 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00352/0.1607, allocations: 1.301 MB / 0.6565 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.1633, allocations: 0.8519 MB / 0.6574 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.1667, allocations: 1.338 MB / 0.6587 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004581/0.1713, allocations: 4.291 MB / 0.6628 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008207/0.1795, allocations: 6.805 MB / 0.6695 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.1822, allocations: 1.933 MB / 0.6714 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.1856, allocations: 2.291 MB / 0.6736 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.1868, allocations: 444 kB / 0.674 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.1891, allocations: 0.8467 MB / 0.6749 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.1914, allocations: 1.727 MB / 0.6766 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.1947, allocations: 1.759 MB / 0.6783 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006632/0.2013, allocations: 6.377 MB / 0.6845 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2014, allocations: 4 kB / 0.6845 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2014, allocations: 0 / 0.6845 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001779/0.2016, allocations: 0 / 0.6845 GB, free: 15.14 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.007722/0.2093, allocations: 3.076 MB / 0.6875 GB, free: 12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2093, allocations: 12.03 kB / 0.6875 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.2145, allocations: 1.109 MB / 0.6886 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.2177, allocations: 1.635 MB / 0.6902 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.2179, allocations: 222.4 kB / 0.6904 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008996/0.2188, allocations: 304.3 kB / 0.6907 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.2295, allocations: 5.292 MB / 0.6959 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.779e-05/0.2296, allocations: 0 / 0.6959 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004838/0.2301, allocations: 128 kB / 0.696 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/0.2303, allocations: 209 kB / 0.6962 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008008/0.2383, allocations: 4.763 MB / 0.7008 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.2644, allocations: 22.99 MB / 0.7233 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004358/0.2688, allocations: 3.179 MB / 0.7264 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.2701, allocations: 0.9211 MB / 0.7273 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.2702, allocations: 109.7 kB / 0.7274 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.2703, allocations: 43.22 kB / 0.7274 GB, free: 384 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/0.2703, allocations: 0 / 0.7274 GB, free: 384 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003359/0.2737, allocations: 2.074 MB / 0.7295 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.2738, allocations: 222.2 kB / 0.7297 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.2752, allocations: 1.098 MB / 0.7308 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.2753, allocations: 41.7 kB / 0.7308 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/0.276, allocations: 1.281 MB / 0.732 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.2763, allocations: 299.9 kB / 0.7323 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/0.2768, allocations: 359.2 kB / 0.7327 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2769, allocations: 341.9 kB / 0.733 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.2781, allocations: 0.8947 MB / 0.7339 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.2798, allocations: 1.515 MB / 0.7354 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.2826, allocations: 2.354 MB / 0.7376 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.2826, allocations: 11.94 kB / 0.7377 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003522/0.2862, allocations: 2.484 MB / 0.7401 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.2862, allocations: 12 kB / 0.7401 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.2862, allocations: 20 kB / 0.7401 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/0.2863, allocations: 28.72 kB / 0.7401 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.2878, allocations: 471.2 kB / 0.7406 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-05/0.2879, allocations: 39.86 kB / 0.7406 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.2893, allocations: 345.7 kB / 0.741 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.2894, allocations: 80.05 kB / 0.741 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002544/0.292, allocations: 1.905 MB / 0.7429 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00152/0.2935, allocations: 1.446 MB / 0.7443 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00241/0.2959, allocations: 2.194 MB / 0.7465 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.855e-06/0.296, allocations: 4 kB / 0.7465 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003193/0.2992, allocations: 2.328 MB / 0.7487 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2992, allocations: 12 kB / 0.7487 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.2992, allocations: 20 kB / 0.7488 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.2992, allocations: 28 kB / 0.7488 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.3006, allocations: 443.2 kB / 0.7492 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.177e-05/0.3006, allocations: 39.86 kB / 0.7492 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.302, allocations: 290.9 kB / 0.7495 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.3021, allocations: 75.98 kB / 0.7496 GB, free: 8.445 MB / 0.5919 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 (197): * Single equations (assignments): 197 * 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.0003491/0.3025, allocations: 287.5 kB / 0.7499 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.3027, allocations: 98.88 kB / 0.75 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.305, allocations: 1.552 MB / 0.7515 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.305, allocations: 12 kB / 0.7515 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.305, allocations: 4 kB / 0.7515 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3051, allocations: 7.922 kB / 0.7515 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/0.3108, allocations: 4.474 MB / 0.7559 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.3108, allocations: 0 / 0.7559 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009109/0.3117, allocations: 251.6 kB / 0.7561 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.3117, allocations: 4 kB / 0.7561 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.3118, allocations: 19.94 kB / 0.7561 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3118, allocations: 4 kB / 0.7561 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3118, allocations: 0 / 0.7561 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.288/0.5999, allocations: 1.913 MB / 0.758 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/0.6007, allocations: 323 kB / 0.7583 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/0.6011, allocations: 20.91 kB / 0.7583 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.6023, allocations: 125.4 kB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.6025, allocations: 54.39 kB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.6026, allocations: 20.8 kB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001453/0.604, allocations: 0.7985 MB / 0.7593 GB, free: 115 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.604, allocations: 0 / 0.7593 GB, free: 115 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003264/0.6073, allocations: 1.299 MB / 0.7606 GB, free: 114.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.0001837/0.6075, allocations: 126.7 kB / 0.7607 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004829/0.6123, allocations: 2.993 MB / 0.7636 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6124, allocations: 2.5 kB / 0.7636 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009328/0.6133, allocations: 0.6554 MB / 0.7643 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6149, allocations: 199.7 kB / 0.7645 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/0.6234, allocations: 4.99 MB / 0.7693 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002551/0.626, allocations: 2.277 MB / 0.7715 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.6266, allocations: 108.5 kB / 0.7717 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.6266, allocations: 0 / 0.7717 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.03444/0.661, allocations: 28.74 MB / 0.7997 GB, free: 92.27 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)