Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005142/0.0005142, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004122/0.0004122, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.343/0.343, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.05571/0.05571, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/2.021e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01503/0.01505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005935/0.02099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0008145/0.0218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001343/0.02315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002722/0.02587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0009306/0.0268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002019/0.02882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.000787/0.02961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.03166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.03338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.03358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.03379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006924/0.03449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.03537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00226/0.03763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001612/0.03779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.342e-06/0.0378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.627e-05/0.03781, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005628/0.04344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000106/0.04355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006662/0.04421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.04507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.04837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.04849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.04879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004388/0.05318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.05323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.05346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.05357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/0.05687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.06753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.07017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.07181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.728e-05/0.07186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/0.07365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=63): time 0.0001089/0.07376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=64): time 0.01056/0.08433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002413/0.08457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.08692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.08712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.08775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.08815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007956/0.08895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004037/0.08935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.09059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.09206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.09485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/0.09488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=102) (initialization): time 0.004948/0.09982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.09993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.09996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0008477/0.1008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.1019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008736/0.1106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008843/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.1117, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001532/0.1133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/0.1138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.1178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.1179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.1179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007949/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009541/0.1268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/0.1268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005666/0.1327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/0.1345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007215/0.1352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004878/0.1357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/0.136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001385/0.1374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.754e-05/0.1374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002722/0.1401, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * 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.006574/0.1467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003972/0.1506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.1507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001666/0.1523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/0.1558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/0.1837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.1852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000825/0.186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/0.1875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001041/0.1885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.009507/0.198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.004224/0.2022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.02607/0.2283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.09e-05/0.2283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.434e-05/0.2283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.00021/0.2286, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,startTime=0,stopTime=4,tolerance=1e-06,numberOfIntervals=4000,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=4 -tolerance=1e-06 -stepSize=0.001 -noemit",resimulateExecutable="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,startTime=0,stopTime=4,tolerance=1e-06,numberOfIntervals=4000,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=4 -tolerance=1e-06 -stepSize=0.001 -noemit -s fmi3:me:daskr",resimulateExecutable="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,startTime=0,stopTime=4,tolerance=1e-06,numberOfIntervals=4000,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=4 -tolerance=1e-06 -stepSize=0.001 -noemit -s fmi3:cs",resimulateExecutable="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.6383616239763796]