Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.0008269/0.0008269, allocations: 98.89 kB / 16.02 MB, free: 80 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.0009224/0.0009223, allocations: 184.6 kB / 16.92 MB, free: 6.754 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.25/1.25, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6477/0.6477, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.0002821, allocations: 8 kB / 496 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 77.53 MB / 0.5601 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0108/0.1402, allocations: 9.506 MB / 0.5693 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004745/0.145, allocations: 3.014 MB / 0.5723 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.1458, allocations: 31.81 kB / 0.5723 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.1463, allocations: 186.6 kB / 0.5725 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.148, allocations: 0.6537 MB / 0.5731 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1492, allocations: 0.5421 MB / 0.5737 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.1533, allocations: 4.064 MB / 0.5776 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004687/0.158, allocations: 3.133 MB / 0.5807 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.1595, allocations: 0.8327 MB / 0.5815 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.1616, allocations: 1.277 MB / 0.5827 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004789/0.1621, allocations: 100 kB / 0.5828 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1634, allocations: 451.2 kB / 0.5833 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.1647, allocations: 0.8457 MB / 0.5841 GB, free: 128 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2512/0.4159, allocations: 0.8733 MB / 0.585 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.4197, allocations: 3.251 MB / 0.5881 GB, free: 16.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4197, allocations: 0 / 0.5881 GB, free: 16.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4197, allocations: 0 / 0.5881 GB, free: 16.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.847e-05/0.4198, allocations: 0.8438 kB / 0.5881 GB, free: 16.1 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003463/0.4232, allocations: 1.601 MB / 0.5897 GB, free: 15.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4233, allocations: 8.594 kB / 0.5897 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003839/0.4237, allocations: 251.8 kB / 0.5899 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/0.4294, allocations: 0.8885 MB / 0.5908 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.4311, allocations: 1.123 MB / 0.5919 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.4312, allocations: 114.3 kB / 0.592 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.4315, allocations: 140.1 kB / 0.5921 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/0.4363, allocations: 3.02 MB / 0.5951 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.4364, allocations: 3.562 kB / 0.5951 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.4366, allocations: 60.67 kB / 0.5952 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/0.4368, allocations: 182.2 kB / 0.5953 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/0.4409, allocations: 2.614 MB / 0.5979 GB, free: 14.42 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.4536, allocations: 13.53 MB / 0.6111 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.4555, allocations: 1.292 MB / 0.6124 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.4569, allocations: 1.053 MB / 0.6134 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.457, allocations: 13.36 kB / 0.6134 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.457, allocations: 41.69 kB / 0.6134 GB, free: 4.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 3.236e-06/0.457, allocations: 1.062 kB / 0.6134 GB, free: 4.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.06987/0.5269, allocations: 19.46 MB / 0.6324 GB, free: 9.129 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.5269, allocations: 68.72 kB / 0.6325 GB, free: 9.047 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5281, allocations: 0.9173 MB / 0.6334 GB, free: 8.125 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.5282, allocations: 49.7 kB / 0.6334 GB, free: 8.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.5287, allocations: 0.7338 MB / 0.6342 GB, free: 7.328 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000406/0.5291, allocations: 486.7 kB / 0.6346 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.5293, allocations: 121.7 kB / 0.6347 GB, free: 6.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5295, allocations: 357.3 kB / 0.6351 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.5313, allocations: 1.343 MB / 0.6364 GB, free: 5.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.5333, allocations: 1.65 MB / 0.638 GB, free: 3.273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/0.5372, allocations: 3.081 MB / 0.641 GB, free: 108 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5372, allocations: 4 kB / 0.641 GB, free: 104 kB / 462.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01136/0.5486, allocations: 5.645 MB / 0.6465 GB, free: 10.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.5486, allocations: 12.09 kB / 0.6465 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.5487, allocations: 11.94 kB / 0.6466 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009018/0.5577, allocations: 2.72 MB / 0.6492 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.5585, allocations: 197 kB / 0.6494 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03422/0.5928, allocations: 23.33 MB / 0.6722 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.5945, allocations: 91.95 kB / 0.6723 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.5949, allocations: 56.5 kB / 0.6723 GB, free: 15.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001618/0.5965, allocations: 0.7309 MB / 0.673 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.5968, allocations: 114.6 kB / 0.6731 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.6084, allocations: 5.39 MB / 0.6784 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.6084, allocations: 12 kB / 0.6784 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-05/0.6085, allocations: 24 kB / 0.6784 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.6085, allocations: 15.53 kB / 0.6785 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/0.6248, allocations: 8.625 MB / 0.6869 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.6248, allocations: 0 / 0.6869 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.6253, allocations: 117.9 kB / 0.687 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008414/0.6337, allocations: 2.553 MB / 0.6895 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.6339, allocations: 24 kB / 0.6895 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0311/0.6651, allocations: 20.87 MB / 0.7099 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6651, allocations: 4 kB / 0.7099 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.6764, allocations: 5.14 MB / 0.7149 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.6775, allocations: 475.6 kB / 0.7154 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.6779, allocations: 28 kB / 0.7154 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.6791, allocations: 79.89 kB / 0.7155 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005347/0.6796, allocations: 121 kB / 0.7156 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.6797, allocations: 36 kB / 0.7156 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001001/0.6808, allocations: 0.6524 MB / 0.7163 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6808, allocations: 0 / 0.7163 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002784/0.6836, allocations: 0.7227 MB / 0.717 GB, free: 1.426 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01125/0.6948, allocations: 5.714 MB / 0.7225 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007427/0.7023, allocations: 4.149 MB / 0.7266 GB, free: 7.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.7023, allocations: 3.938 kB / 0.7266 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005561/0.7079, allocations: 2.654 MB / 0.7292 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.71, allocations: 207.1 kB / 0.7294 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04229/0.7523, allocations: 22.57 MB / 0.7514 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/0.7544, allocations: 1.704 MB / 0.7531 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009741/0.7553, allocations: 329.4 kB / 0.7534 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008326/0.7562, allocations: 0.5266 MB / 0.7539 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/0.7562, allocations: 0 / 0.7539 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07762/0.8338, allocations: 48.83 MB / 0.8016 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.8341, allocations: 245.5 kB / 0.8018 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.226, allocations: 4 kB / 0.8018 GB, free: 10.1 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)